package cn.gson.crmdemo.controller.product;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.service.ThService;

@Controller
public class Th {
	@Autowired
	ThService Th;
	
	@RequestMapping("Th")
	@ResponseBody
	public JSONArray th() {
		return Th.selectReturnes();
	}

}
